You may need to escape the . which is a special character that means "any character" (from @Mr Flick's comment) gsub('\\. ... <看更多>
Search
Search
You may need to escape the . which is a special character that means "any character" (from @Mr Flick's comment) gsub('\\. ... <看更多>
... <看更多>
13.3 Substitute or remove matching patterns with gsub | Introduction to R. ... gsub(pattern="es$|it$", replacement="eu", x=vec_ad) ... <看更多>
You have plenty of alternatives for this problem. Using sapply data$abstract <- sapply(data$abstract, function(x){gsub(pattern = "no abstract available", ... ... <看更多>
BTW, when the app crashes on Linux, what exactly do you mean by "crash"? Does the screen gray out, or is there an error message in the R console ... ... <看更多>